

import app from '@/app'
import type { ToastMessageOptions } from 'primevue/toast';

console.log('addd', app)
const getToast = () => app?.config.globalProperties.$toast
const toast = {
	add(param: ToastMessageOptions) {
		getToast().add(param)
    console.log('dddddd')
	}
}
export default toast
